package com.alks.function.data.dto.administration;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDate;

@Getter
@Setter
@NoArgsConstructor
@ToString
public class ChangeDto {

    @ApiModelProperty(value = "异动日期",name = "sysDate")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private LocalDate sysDate;

    @ApiModelProperty(value = "改变后",name = "change")
    private String change;

    @ApiModelProperty(value = "部门名称",name = "deptName")
    private String deptName;

    @ApiModelProperty(value = "姓名",name = "name")
    private String name;

    @ApiModelProperty(value = "性别",name = "sex")
    private String sex;

    @ApiModelProperty(value = "身份证号码",name = "idNo")
    private String idNo;

    @ApiModelProperty(value = "职务",name = "position")
    private String position;

    @ApiModelProperty(value = "工种",name = "workType")
    private String workType;

    @ApiModelProperty(value = "计算类型",name = "calcType")
    private String calcType;

    @ApiModelProperty(value = "电话号码",name = "mobileNo")
    private String mobileNo;

    @ApiModelProperty(value = "地址",name = "address")
    private String address;

    @ApiModelProperty(value = "进厂日期",name = "dateIn")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private LocalDate dateIn;

    @ApiModelProperty(value = "合同签订",name = "contract")
    private String contract;

    @ApiModelProperty(value = "变更前底薪",name = "oldBasicSalary")
    private Integer oldBasicSalary;

    @ApiModelProperty(value = "变更前工资类型",name = "newCalcType")
    private String newCalcType;

    @ApiModelProperty(value = "离职日期",name = "delDate")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private LocalDate delDate;
}
